package com.min;

import com.min.service.AopDoing;
import com.min.serviceImpl.AopDoingImpl;
import com.min.serviceImpl.MyProxy;
import com.xiaoleilu.hutool.aop.ProxyUtil;
import org.junit.jupiter.api.Test;

/**
 * Created by llx on 2017/5/23.
 */
public class aop {

    @Test
    public void testProxy(){

        AopDoing aop = ProxyUtil.proxy(new AopDoingImpl(),MyProxy.class);
        System.out.println(aop.getNowDateStr());

    }

}
